package com.rub.android.service.api

import com.rub.android.model.Tags
import retrofit2.Call
import retrofit2.Response
import retrofit2.http.GET
import rx.Observable

/**
 * https://movie.douban.com/j/search_tags?type=tv&source=index
 */
interface ITagsService {


    /**
     * 首页推荐数据
     */
    @GET("search_tags?type=tv&source=index")
    fun searchTags(): Observable<Tags?>

    @GET("search_tags?type=tv&source=index")
    fun listTags(): Call<Tags>


    //https://sample-videos.com/

    @GET("index.php#sample-mp4-video")
    fun fetchVideo(): Call<String>

}